package com.nbsystem.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (ElcComment)实体类
 *
 * @author makejava
 * @since 2021-06-01 15:04:18
 */
public class ElcComment implements Serializable {
    private static final long serialVersionUID = 554935238715107181L;


    /**
     * 标题
     */
    private String title;

    /**
     * 评论内容
     */
    private String detail;


    private Integer pl_state;


    private String user_name;


    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public Integer getPl_state() {
        return pl_state;
    }

    public void setPl_state(Integer pl_state) {
        this.pl_state = pl_state;
    }

    /**
     * 评论id
     */
    private Integer id;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 公告id
     */
    private Integer noticeId;


    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    /**
     * 客户id
     */
    private Integer dpid;


    public ElcComment() {
    }

    public ElcComment(String title, String detail, Integer id, Integer userId, Integer noticeId, Date createTime, Date updateTime, Integer dpid) {
        this.title = title;
        this.detail = detail;

        this.id = id;
        this.userId = userId;
        this.noticeId = noticeId;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.dpid = dpid;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }




    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getNoticeId() {
        return noticeId;
    }

    public void setNoticeId(Integer noticeId) {
        this.noticeId = noticeId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getDpid() {
        return dpid;
    }

    public void setDpid(Integer dpid) {
        this.dpid = dpid;
    }

    @Override
    public String toString() {
        return "ElcComment{" +
                "title='" + title + '\'' +
                ", detail='" + detail + '\'' +
                ", id=" + id +
                ", userId=" + userId +
                ", noticeId=" + noticeId +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", dpid=" + dpid +
                '}';
    }
}
